Skip to content

Conversation

@psybuzz
Copy link
Contributor

@psybuzz psybuzz commented May 20, 2021

Merges mesh_demo.py and mesh_demo_v2.py into a single demo,
dropping the TF1 version.

Manually tested by running bazel run //tensorboard/plugins/mesh:mesh_demo
and opening the Mesh dashboard and seeing that it looks unchanged.
image

@google-cla google-cla bot added the cla: yes label May 20, 2021
@psybuzz psybuzz requested a review from nfelt May 20, 2021 21:57
Copy link
Contributor

@nfelt nfelt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! CI failed due to needing a BUILD file change too I believe.

I guess this means #2578 is officially stale, huh :P

if int(tf.__version__.split(".")[0]) > 1:
raise ImportError("TensorFlow 1.x is required to run this demo.")
"""Runs training steps with a mesh summary."""
# Flag mesh_path is required.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional since this isn't really TF 2.0 related, but it would be nice if this was self-contained. As reported by @wchargin (oh hai) on #2578 there is a .ply file in-repo that we could bundle to make this simpler to run:

https://github.com/tensorflow/tensorboard/blob/master/tensorboard/plugins/mesh/test_data/icosphere.ply

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@psybuzz psybuzz merged commit 0e2b827 into tensorflow:master May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants